package com.example.system.domain.sysuser;

/*
* 系统管理员：添加教师，设置用户权限
* */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@TableName("tb_sys_user")
@Getter
@Setter
@ToString
public class SysUser extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long sysUserId;  //主键  不再使用auto_increment

    @Schema(name = "用户账户")
    private String userAccount;

    @Schema(name = "用户账户")
    private String password;

    @Schema(name = "用户账户")
    private String nickName;

}
